import logo from "./logo.svg";
import "./App.css";

function App(props) {

  return (
    <div className="App">
      <header className="App-header">
        <img src={logo} className="App-logo" alt="logo" />
        <p>
          Edit <code> src / App.js </code> and save to reload.{" "}
        </p>{" "}
        <h3>
          
          Learn React{" "}
        </h3>{" "}
        <h3>现在时间是{props.date.toLocaleTimeString()}</h3>
      </header>{" "}
    </div>
  );
}
// setInterval (App ,1000)


export default App;
